package com.originskyseed.platform.user.model;

import java.math.BigDecimal;
import java.util.Date;

import com.originskyseed.platform.core.base.BaseModel;

/**
 * 玩家信息表（OSI_PLAYER）
 *
 * @author wlj
 */
public class Player extends BaseModel {

	/**
	 * 用户id（USER_ID）
	 */
	private String userId;

	/**
	 * 用户账号（ACCOUNT）
	 */
	private String account;

	/**
	 * 公会id（TRADE_UNION_ID）
	 */
	private String tradeUnionId;

	/**
	 * 昵称（NICK_NAME）
	 */
	private String nickName;

	/**
	 * 业务员id（BELONG_BUSINESS_ID）
	 */
	private String belongBusinessId;

	/**
	 * 业务员名称
	 */
	private String belongBusinessName;

	/**
	 * 业务员账号
	 */
	private String belongBusinessAccount;

	/**
	 * 渠道id（CHANNEL_ID）
	 */
	private String channelId;

	/**
	 * 子渠道id（CHANNEL_SUB_ID）
	 */
	private String channelSubId;

	/**
	 * 设备（EQUIPMENT）
	 */
	private String equipment;

	/**
	 * 设备code（EQUIPMENT_CODE）
	 */
	private String equipmentCode;

	/**
	 * imei（IMEI）
	 */
	private String imei;

	/**
	 * 注册ip
	 */
	private String ip;

	/**
	 * 创建人id（CREATOR_ID）
	 */
	private String creatorId;

	/**
	 * 创建人（CREATOR）
	 */
	private String creator;

	/**
	 * 注册时间
	 */
	private Date registTime;

	/**
	 * 玩家id
	 */
	private String playerId;

	/**
	 * 第三方主键
	 */
	private String otherId;

	/**
	 * 主播id
	 */
	private String anchorId;


	/**
	 * 主播昵称
	 */
	private String anchorNickName;

	/**
	 * 观看时长
	 */
	private BigDecimal liveTime;

	/**
	 * 是否优质用户
	 */
	private Integer isHighQuality;

	/**
	 * -------非本表字段------------
	 */
	/**
	 * 累计充值金额（AMOUNT）
	 */
	private BigDecimal totalamount;

	/**
	 * 最后登录时间
	 */
	private Date loginTime;

	/**
	 * 格式化后的最后登录时间
	 */
	private String lastLoginTimeFormat;

	/**
	 * 子渠道账号
	 */
	private String csaccount;

	/**
	 * 渠道账号
	 */
	private String caccount;

	/**
	 * 登录设备CODE
	 */
	private String loginCode;

	/**
	 * 登录次数
	 */
	private Integer loginCount;

	/**
	 * 是否达标
	 */
	private Integer isStandard;

	/**
	 * 达标条件
	 */
	private String standardCondition;

	/**
	 * 达标时间
	 */
	private Date standardDate;

	/**
	 * 累计观看直播时间
	 */
	private BigDecimal totalTime;

	/**
	 * 登录设备IP
	 */
	private String loginIP;

	/**
	 * 登录设备IMEI
	 */
	private String loginIMEI;

	/**
	 * 玩家名称
	 */
	private String name;

	/**
	 * 登录设备码
	 */
	private String loginEquipmentCode;

	/**
	 * 登录ip
	 */
	private String loginIp;

	/**
	 * 注册天数
	 */
	private Integer registerDay;

	/**
	 * 玩家是否在线 0否 1是
	 */
	private Integer isOnline;

	/**
	 * 金额（AMOUNT）
	 */
	private BigDecimal amount;

	/**
	 * 最后登录时间（LAST_LOGIN_TIME）
	 */
	private Date lastLoginTime;

	public Integer getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(Integer isOnline) {
		this.isOnline = isOnline;
	}

	public String getBelongBusinessAccount() {
		return belongBusinessAccount;
	}

	public void setBelongBusinessAccount(String belongBusinessAccount) {
		this.belongBusinessAccount = belongBusinessAccount;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLoginIP() {
		return loginIP;
	}

	public void setLoginIP(String loginIP) {
		this.loginIP = loginIP;
	}

	public String getLoginIMEI() {
		return loginIMEI;
	}

	public void setLoginIMEI(String loginIMEI) {
		this.loginIMEI = loginIMEI;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getLoginCount() {
		return loginCount;
	}

	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}

	public String getCsaccount() {
		return csaccount;
	}

	public void setCsaccount(String csaccount) {
		this.csaccount = csaccount;
	}

	public String getCaccount() {
		return caccount;
	}

	public void setCaccount(String caccount) {
		this.caccount = caccount;
	}

	public String getLoginCode() {
		return loginCode;
	}

	public void setLoginCode(String loginCode) {
		this.loginCode = loginCode;
	}

	public Date getRegistTime() {
		return registTime;
	}

	public void setRegistTime(Date registTime) {
		this.registTime = registTime;
	}

	public BigDecimal getTotalamount() {
		return totalamount;
	}

	public void setTotalamount(BigDecimal totalamount) {
		this.totalamount = totalamount;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public String getTradeUnionId() {
		return tradeUnionId;
	}

	public void setTradeUnionId(String tradeUnionId) {
		this.tradeUnionId = tradeUnionId;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public String getChannelSubId() {
		return channelSubId;
	}

	public void setChannelSubId(String channelSubId) {
		this.channelSubId = channelSubId;
	}

	public String getEquipment() {
		return equipment;
	}

	public void setEquipment(String equipment) {
		this.equipment = equipment;
	}

	public String getEquipmentCode() {
		return equipmentCode;
	}

	public void setEquipmentCode(String equipmentCode) {
		this.equipmentCode = equipmentCode;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getAnchorId() {
		return anchorId;
	}

	public void setAnchorId(String anchorId) {
		this.anchorId = anchorId;
	}

	public BigDecimal getLiveTime() {
		return liveTime;
	}

	public void setLiveTime(BigDecimal liveTime) {
		this.liveTime = liveTime;
	}

	public Integer getIsHighQuality() {
		return isHighQuality;
	}

	public void setIsHighQuality(Integer isHighQuality) {
		this.isHighQuality = isHighQuality;
	}

	public String getLastLoginTimeFormat() {
		return lastLoginTimeFormat;
	}

	public void setLastLoginTimeFormat(String lastLoginTimeFormat) {
		this.lastLoginTimeFormat = lastLoginTimeFormat;
	}

	public String getBelongBusinessName() {
		return belongBusinessName;
	}

	public void setBelongBusinessName(String belongBusinessName) {
		this.belongBusinessName = belongBusinessName;
	}

	/**
	 * 获取用户id
	 *
	 * @return
	 */
	public String getUserId() {
		return this.userId;
	}

	/**
	 * 设置用户id
	 *
	 * @param userId
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * 获取用户账号
	 *
	 * @return
	 */
	public String getAccount() {
		return this.account;
	}

	/**
	 * 设置用户账号
	 *
	 * @param account
	 */
	public void setAccount(String account) {
		this.account = account;
	}

	/**
	 * 获取昵称
	 *
	 * @return
	 */
	public String getNickName() {
		return this.nickName;
	}

	/**
	 * 设置昵称
	 *
	 * @param nickName
	 */
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	/**
	 * 获取业务员id
	 *
	 * @return
	 */
	public String getBelongBusinessId() {
		return this.belongBusinessId;
	}

	/**
	 * 设置业务员id
	 *
	 * @param belongBusinessId
	 */
	public void setBelongBusinessId(String belongBusinessId) {
		this.belongBusinessId = belongBusinessId;
	}

	/**
	 * 获取创建人id
	 *
	 * @return
	 */
	public String getCreatorId() {
		return this.creatorId;
	}

	/**
	 * 设置创建人id
	 *
	 * @param creatorId
	 */
	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}

	/**
	 * 获取创建人
	 *
	 * @return
	 */
	public String getCreator() {
		return this.creator;
	}

	/**
	 * 设置创建人
	 *
	 * @param creator
	 */
	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getPlayerId() {
		return playerId;
	}

	public void setPlayerId(String playerId) {
		this.playerId = playerId;
	}

	public String getOtherId() {
		return otherId;
	}

	public void setOtherId(String otherId) {
		this.otherId = otherId;
	}

	public Integer getIsStandard() {
		return isStandard;
	}

	public void setIsStandard(Integer isStandard) {
		this.isStandard = isStandard;
	}

	public String getStandardCondition() {
		return standardCondition;
	}

	public void setStandardCondition(String standardCondition) {
		this.standardCondition = standardCondition;
	}

	public Date getStandardDate() {
		return standardDate;
	}

	public void setStandardDate(Date standardDate) {
		this.standardDate = standardDate;
	}

	public BigDecimal getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(BigDecimal totalTime) {
		this.totalTime = totalTime;
	}

	public String getLoginEquipmentCode() {
		return loginEquipmentCode;
	}

	public void setLoginEquipmentCode(String loginEquipmentCode) {
		this.loginEquipmentCode = loginEquipmentCode;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public Integer getRegisterDay() {
		return registerDay;
	}

	public void setRegisterDay(Integer registerDay) {
		this.registerDay = registerDay;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getAnchorNickName() {
		return anchorNickName;
	}

	public void setAnchorNickName(String anchorNickName) {
		this.anchorNickName = anchorNickName;
	}
}
